<template>
  <section class="training-box">
    <div class="title">{{ title }}</div>
    <div class="content">
      <slot></slot>
    </div>
  </section>
</template>

<script setup lang="ts">
type Props = {
  title: string;
};
defineProps<Props>();
</script>
<style scoped lang="less">
.training-box {
  .title {
    font-size: 16px;
    margin-bottom: 16px;
    color: #36434d;
  }
}

@media screen and (max-width: 768px) {
  .training-box {
    .title {
      font-size: 82px;
      margin-bottom: 82px;
    }
  }
}
</style>
